/**
 * Created by Freeman on 2016/8/11.
 */
import React, {Component, PropTypes} from 'react'
import MineNav from './MineNav'
class Mine extends Component {
    constructor(props) {
        super(props)
    }

    static propTypes = {
        children:PropTypes.node,
        location:PropTypes.object
    };

    render() {
        const {children,location} = this.props;
        return (
            <div className="container-fluid main-box">
                <div className="row">
                    <MineNav location={location}/>
                    <div className="col-sm-9 col-sm-offset-1 main-content">
                        {children}
                    </div>
                </div>
            </div>
        )
    }
}
export default Mine